<?php

namespace Application;

use JustKiss\Module\Feature\ModuleAutoloadInterface,
    JustKiss\Module\Feature\ModuleBootstrapInterface,
    JustKiss\Module\Feature\ModuleDispatchInterface,
    JustKiss\Module\Feature\ModuleShutdownInterface;

/**
 * Description of Module
 *
 * @author quangtm
 */
class Module implements ModuleAutoloadInterface,
    ModuleBootstrapInterface,
    ModuleDispatchInterface,
    ModuleShutdownInterface
{

    public function setAutoload()
    {
        $autoload = new \JustKiss\Autoload\AutoloadSimple();

        $autoload->register([
            'namespaces' => [
                __NAMESPACE__ => __DIR__ . '/src/',
            ],
        ]);
    }

    public function onBootstrap(\JustKiss\EventManager\Event $e)
    {
        
    }

    public function onDispatch(\JustKiss\Controller\Action\ControllerActionAbstract $controller)
    {
    }

    public function onShutdown(\JustKiss\Controller\Action\ControllerActionAbstract $controller)
    {
        
    }

}
